package cn.micro.system.manage.service;

import cn.micro.system.manage.entity.AssetDimProductInfo;
import cn.micro.system.manage.entity.AssetDimProductVersion;
import cn.micro.system.manage.entity.dto.AssetDimProductSearch;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 产品信息 服务类
 * </p>
 *
 * @author wr
 * @since 2024-01-05
 */
public interface AssetDimProductInfoService extends IService<AssetDimProductInfo> {

    List<AssetDimProductInfo> listByPage(int page, int size, AssetDimProductSearch search);

    AssetDimProductInfo detail(Long id);

    List<AssetDimProductInfo> getByCodeOrName(AssetDimProductInfo assetDimProductInfo);

    boolean pub(AssetDimProductVersion productVersion);
}
